/*            Copyright(c) 2006-2008 Dave Sexton           *
 * http://www.codeplex.com/DocProject                      *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing.Design;
using System.Windows.Forms;
using System.ComponentModel;

namespace DaveSexton.DocProject.Sandcastle.BuildComponents.Editors.BuiltIn
{
	internal sealed class ResolveConceptualLinksComponentEditor : CancelableBaseEditor<ResolveConceptualLinksComponentEditorDialog>
	{
		#region Constructors
		/// <summary>
		/// Constructs a new instance of the <see cref="ResolveConceptualLinksComponentEditor" /> class.
		/// </summary>
		public ResolveConceptualLinksComponentEditor()
		{
		}
		#endregion

		#region Methods
		protected override bool Commit(DialogResult result, ResolveConceptualLinksComponentEditorDialog dialog, SandcastleBuildComponent component)
		{
			return result == DialogResult.OK;
		}

		protected override void Cancel(ResolveConceptualLinksComponentEditorDialog dialog, SandcastleBuildComponent component)
		{
			// do nothing
		}
		#endregion
	}
}
